@import '~antd/es/style/variable.less';

.tabContainer {
  height: 100%;
  :global {
    .ant-tabs {
      height: 100%;
      .ant-tabs-nav-list {
        padding-left: 12px;
        .ant-tabs-tab {
          padding: 6px 0;
        }
      }
      .ant-tabs-content-holder {
        padding: 0 12px 12px;
        overflow-y: auto;
      }
    }
  }
  .componentDragListContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 1px solid @border-color-base;
    .componentDragListItem {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 33%;
      height: 96px;
      border-top: 1px solid @border-color-base;
      border-right: 1px solid @border-color-base;
      border-bottom: 1px solid @border-color-base;
      cursor: move;
      transition: box-shadow 0.2s ease;
      user-select: none;
      .componentDragListItemImgCube {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 68px;
        height: 68px;
        overflow: hidden;
        .componentDragListItemImgItem {
          width: 60px;
        }
      }
      .componentDragListItemText {
        width: 100%;
        padding: 0 8px;
        overflow: hidden;
        color: @text-color;
        font-weight: 500;
        font-size: 12px;
        white-space: nowrap;
        text-align: center;
        text-overflow: ellipsis;
      }
      &:hover {
        border-color: transparent;
        box-shadow: 0 6px 16px 0 @border-color-base;
      }
    }
  }
}
